package cn.iocoder.yudao.module.project.controller.admin.supplier.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 供应商信息新增/修改 Request VO")
@Data
public class SupplierSaveReqVO {

    @Schema(description = "供应商编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "28476")
    private String id;

    @Schema(description = "供应商名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "供应商名称不能为空")
    private String name;

    @Schema(description = "导入时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "导入时间不能为空")
    private LocalDateTime operatingTime;

    @Schema(description = "导入人员")
    private String operator;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @NotEmpty(message = "备注不能为空")
    private String remark;

}